import { createApp } from 'vue'
import App from './App.vue'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import { createPinia } from 'pinia';

// import 'viewerjs/dist/viewer.css'
// import VueViewer from 'v-viewer'

// import vue3SeamlessScroll from 'vue3-seamless-scroll';
// import '@/utils/rem.ts'
const pinia = createPinia()

// @ts-ignore
import zhCn from 'element-plus/dist/locale/zh-cn.mjs'

import router from './router/index'
import './utils/globel.css'
let app = createApp(App);

app.use(router)
app.use(pinia)
app.use(ElementPlus)


// app.use(vue3SeamlessScroll)
app.mount('#app')
app.use(ElementPlus, {
    locale: zhCn,
})

// app.use(VueViewer, {
//     Options: {
//         'inline': true,
//         'button': true, //右上角按钮
//         "navbar": true, //底部缩略图
//         "title": true, //当前图片标题
//         "toolbar": true, //底部工具栏
//         "tooltip": true, //显示缩放百分比
//         "movable": true, //是否可以移动
//         "zoomable": true, //是否可以缩放
//         "rotatable": true, //是否可旋转
//         "scalable": true, //是否可翻转
//         "transition": true, //使用 CSS3 过度
//         "fullscreen": true, //播放时是否全屏
//         "keyboard": true, //是否支持键盘
//         "url": "data-source",
//     }
// })